home *** CD-ROM | disk | FTP | other *** search
open in:
MacOS 8.1
|
Win98
|
DOS
browse contents |
view JSON data
|
view as text
This file was processed as: Mailbox/MIME Entity
(archive/mbox).
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| dexvert
| Newsgroup Content (archive/news)
| magic
| Supported |
100%
| dexvert
| Mailbox/MIME Entity (archive/mbox)
| magic
| Supported |
100%
| dexvert
| Internet Message Format (text/imf)
| magic
| Supported |
1%
| dexvert
| Text File (text/txt)
| fallback
| Supported |
100%
| file
| news, ASCII text
| default
| |
100%
| checkBytes
| Printable ASCII
| default
| |
100%
| dexmagic
| PrintFox/Pagefox WEAK
| default
| |
100%
| perlTextCheck
| Likely Text (Perl)
| default
| |
100%
| siegfried
| fmt/950 MIME Email (1.0)
| default
| |
100%
| detectItEasy
| Format: plain text[LF]
| default (weak)
| |
100%
| xdgMime
| message/news
| default
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 50 61 74 68 3a 20 65 6e | 67 6e 65 77 73 31 2e 45 |Path: en|gnews1.E|
|00000010| 6e 67 2e 53 75 6e 2e 43 | 4f 4d 21 74 61 75 6d 65 |ng.Sun.C|OM!taume|
|00000020| 74 21 63 6c 61 6d 61 67 | 65 0a 46 72 6f 6d 3a 20 |t!clamag|e.From: |
|00000030| 6d 61 72 74 69 6e 40 6b | 63 62 62 73 2e 67 65 6e |martin@k|cbbs.gen|
|00000040| 2e 6e 7a 20 28 4d 61 72 | 74 69 6e 20 44 20 4b 65 |.nz (Mar|tin D Ke|
|00000050| 61 6c 65 79 29 0a 4e 65 | 77 73 67 72 6f 75 70 73 |aley).Ne|wsgroups|
|00000060| 3a 20 63 6f 6d 70 2e 73 | 74 64 2e 63 2b 2b 0a 53 |: comp.s|td.c++.S|
|00000070| 75 62 6a 65 63 74 3a 20 | 52 65 3a 20 52 65 66 65 |ubject: |Re: Refe|
|00000080| 72 65 6e 63 69 6e 67 20 | 70 6f 69 6e 74 65 72 73 |rencing |pointers|
|00000090| 20 61 66 74 65 72 20 64 | 65 6c 65 74 65 0a 44 61 | after d|elete.Da|
|000000a0| 74 65 3a 20 33 31 20 4d | 61 72 20 31 39 39 36 20 |te: 31 M|ar 1996 |
|000000b0| 31 35 3a 31 32 3a 34 32 | 20 47 4d 54 0a 4f 72 67 |15:12:42| GMT.Org|
|000000c0| 61 6e 69 7a 61 74 69 6f | 6e 3a 20 3f 0a 41 70 70 |anizatio|n: ?.App|
|000000d0| 72 6f 76 65 64 3a 20 63 | 6c 61 6d 61 67 65 40 65 |roved: c|lamage@e|
|000000e0| 6e 67 2e 73 75 6e 2e 63 | 6f 6d 20 28 63 6f 6d 70 |ng.sun.c|om (comp|
|000000f0| 2e 73 74 64 2e 63 2b 2b | 29 0a 4d 65 73 73 61 67 |.std.c++|).Messag|
|00000100| 65 2d 49 44 3a 20 3c 6d | 30 75 33 44 38 41 2d 30 |e-ID: <m|0u3D8A-0|
|00000110| 30 30 47 63 45 43 40 37 | 2e 6b 75 72 61 68 61 75 |00GcEC@7|.kurahau|
|00000120| 70 6f 2e 67 65 6e 2e 6e | 7a 3e 0a 4e 4e 54 50 2d |po.gen.n|z>.NNTP-|
|00000130| 50 6f 73 74 69 6e 67 2d | 48 6f 73 74 3a 20 74 61 |Posting-|Host: ta|
|00000140| 75 6d 65 74 2e 65 6e 67 | 2e 73 75 6e 2e 63 6f 6d |umet.eng|.sun.com|
|00000150| 0a 4d 69 6d 65 2d 56 65 | 72 73 69 6f 6e 3a 20 31 |.Mime-Ve|rsion: 1|
|00000160| 2e 30 0a 43 6f 6e 74 65 | 6e 74 2d 54 79 70 65 3a |.0.Conte|nt-Type:|
|00000170| 20 74 65 78 74 2f 70 6c | 61 69 6e 3b 20 63 68 61 | text/pl|ain; cha|
|00000180| 72 73 65 74 3d 49 53 4f | 2d 38 38 35 39 2d 31 0a |rset=ISO|-8859-1.|
|00000190| 43 6f 6e 74 65 6e 74 2d | 54 72 61 6e 73 66 65 72 |Content-|Transfer|
|000001a0| 2d 45 6e 63 6f 64 69 6e | 67 3a 20 38 62 69 74 0a |-Encodin|g: 8bit.|
|000001b0| 43 63 3a 20 73 74 64 2d | 63 2b 2b 40 6e 63 61 72 |Cc: std-|c++@ncar|
|000001c0| 2e 75 63 61 72 2e 65 64 | 75 0a 49 6e 2d 52 65 70 |.ucar.ed|u.In-Rep|
|000001d0| 6c 79 2d 54 6f 3a 20 3c | 34 6a 36 6b 30 72 24 68 |ly-To: <|4j6k0r$h|
|000001e0| 65 76 40 67 61 6c 61 78 | 79 2e 75 63 72 2e 65 64 |ev@galax|y.ucr.ed|
|000001f0| 75 3e 20 66 72 6f 6d 20 | 22 54 6f 6d 20 50 61 79 |u> from |"Tom Pay|
|00000200| 6e 65 22 20 61 74 20 4d | 61 72 20 32 35 2c 20 39 |ne" at M|ar 25, 9|
|00000210| 36 20 30 35 3a 32 37 3a | 33 32 20 70 6d 0a 58 2d |6 05:27:|32 pm.X-|
|00000220| 4d 61 69 6c 65 72 3a 20 | 45 4c 4d 20 5b 76 65 72 |Mailer: |ELM [ver|
|00000230| 73 69 6f 6e 20 32 2e 34 | 20 50 4c 32 34 5d 0a 43 |sion 2.4| PL24].C|
|00000240| 6f 6e 74 65 6e 74 2d 4c | 65 6e 67 74 68 3a 20 31 |ontent-L|ength: 1|
|00000250| 37 33 34 0a 4f 72 69 67 | 69 6e 61 74 6f 72 3a 20 |734.Orig|inator: |
|00000260| 63 6c 61 6d 61 67 65 40 | 74 61 75 6d 65 74 0a 0a |clamage@|taumet..|
|00000270| 54 6f 6d 20 50 61 79 6e | 65 20 3c 74 68 70 40 63 |Tom Payn|e <thp@c|
|00000280| 73 2e 75 63 72 2e 65 64 | 75 3e 20 77 72 6f 74 65 |s.ucr.ed|u> wrote|
|00000290| 3a 0a 3e 20 53 74 65 76 | 65 20 43 6c 61 6d 61 67 |:.> Stev|e Clamag|
|000002a0| 65 20 28 63 6c 61 6d 61 | 67 65 40 45 6e 67 2e 53 |e (clama|ge@Eng.S|
|000002b0| 75 6e 2e 43 4f 4d 29 20 | 77 72 6f 74 65 3a 0a 3e |un.COM) |wrote:.>|
|000002c0| 20 3a 20 49 20 64 6f 6e | 27 74 20 73 65 65 20 61 | : I don|'t see a|
|000002d0| 6e 79 20 61 64 76 61 6e | 74 61 67 65 20 69 6e 20 |ny advan|tage in |
|000002e0| 74 72 79 69 6e 67 20 74 | 6f 20 72 65 73 74 72 69 |trying t|o restri|
|000002f0| 63 74 20 74 68 65 20 6b | 69 6e 64 20 6f 72 20 66 |ct the k|ind or f|
|00000300| 6f 72 6d 20 6f 66 20 63 | 68 65 63 6b 69 6e 67 0a |orm of c|hecking.|
|00000310| 3e 20 3a 20 74 68 61 74 | 20 73 79 73 74 65 6d 73 |> : that| systems|
|00000320| 20 61 72 65 20 61 6c 6c | 6f 77 65 64 20 74 6f 20 | are all|owed to |
|00000330| 69 6d 70 6c 65 6d 65 6e | 74 2e 20 49 20 77 6f 75 |implemen|t. I wou|
|00000340| 6c 64 20 61 70 70 6c 61 | 75 64 20 61 20 68 61 72 |ld appla|ud a har|
|00000350| 64 77 61 72 65 2d 62 61 | 73 65 64 0a 3e 20 3a 20 |dware-ba|sed.> : |
|00000360| 6d 65 63 68 61 6e 69 73 | 6d 2c 20 61 6e 64 20 49 |mechanis|m, and I|
|00000370| 20 77 6f 75 6c 64 20 72 | 65 73 65 6e 74 20 61 20 | would r|esent a |
|00000380| 70 72 6f 67 72 61 6d 6d | 69 6e 67 20 6c 61 6e 67 |programm|ing lang|
|00000390| 75 61 67 65 20 73 74 61 | 6e 64 61 72 64 20 74 68 |uage sta|ndard th|
|000003a0| 61 74 20 6d 61 64 65 0a | 3e 20 3a 20 69 74 20 6e |at made.|> : it n|
|000003b0| 6f 6e 2d 63 6f 6e 66 6f | 72 6d 69 6e 67 2e 0a 3e |on-confo|rming..>|
|000003c0| 20 54 68 65 20 69 73 73 | 75 65 20 69 73 20 6e 6f | The iss|ue is no|
|000003d0| 74 20 74 68 65 20 66 6f | 72 6d 20 6f 66 20 74 68 |t the fo|rm of th|
|000003e0| 65 20 63 68 65 63 6b 69 | 6e 67 20 62 75 74 20 74 |e checki|ng but t|
|000003f0| 68 65 20 72 65 73 70 6f | 6e 73 65 20 74 6f 20 69 |he respo|nse to i|
|00000400| 74 2e 20 20 54 68 65 0a | 3e 20 73 74 61 6e 64 61 |t. The.|> standa|
|00000410| 72 64 20 72 65 73 70 6f | 6e 73 65 20 74 6f 20 61 |rd respo|nse to a|
|00000420| 20 68 61 72 64 77 61 72 | 65 2d 64 65 74 65 63 74 | hardwar|e-detect|
|00000430| 65 64 20 66 61 75 6c 74 | 20 69 73 20 74 6f 20 69 |ed fault| is to i|
|00000440| 6e 76 6f 6b 65 20 61 20 | 73 69 67 6e 61 6c 0a 3e |nvoke a |signal.>|
|00000450| 20 68 61 6e 64 6c 65 72 | 2c 20 77 68 69 63 68 20 | handler|, which |
|00000460| 69 73 20 28 6f 72 20 73 | 68 6f 75 6c 64 20 62 65 |is (or s|hould be|
|00000470| 29 20 63 6f 6d 70 6c 65 | 74 65 6c 79 20 63 6f 6e |) comple|tely con|
|00000480| 66 6f 72 6d 69 6e 67 2e | 0a 0a 43 6f 6e 73 69 64 |forming.|..Consid|
|00000490| 65 72 20 74 68 69 73 20 | 69 6d 70 6c 65 6d 65 6e |er this |implemen|
|000004a0| 74 61 74 69 6f 6e 20 77 | 69 74 68 20 4e 4f 20 72 |tation w|ith NO r|
|000004b0| 75 6e 2d 74 69 6d 65 20 | 70 6f 69 6e 74 65 72 20 |un-time |pointer |
|000004c0| 63 68 65 63 6b 69 6e 67 | 20 28 61 73 0a 69 73 20 |checking| (as.is |
|000004d0| 61 6c 6c 6f 77 65 64 29 | 20 77 68 65 72 65 20 65 |allowed)| where e|
|000004e0| 76 65 72 79 20 6f 62 6a | 65 63 74 20 63 6f 6e 74 |very obj|ect cont|
|000004f0| 61 69 6e 73 20 6e 6f 74 | 20 6f 6e 6c 79 20 61 20 |ains not| only a |
|00000500| 76 74 61 62 6c 65 20 70 | 6f 69 6e 74 65 72 0a 62 |vtable p|ointer.b|
|00000510| 75 74 20 61 6c 73 6f 20 | 61 6e 20 6f 77 6e 65 72 |ut also |an owner|
|00000520| 2d 74 61 73 6b 20 70 6f | 69 6e 74 65 72 20 61 73 |-task po|inter as|
|00000530| 20 77 65 6c 6c 2c 20 75 | 73 65 64 20 66 6f 72 20 | well, u|sed for |
|00000540| 69 6e 74 65 72 2d 70 72 | 6f 63 65 73 73 0a 6d 65 |inter-pr|ocess.me|
|00000550| 6d 6f 72 79 20 6d 61 6e | 61 67 65 6d 65 6e 74 2e |mory man|agement.|
|00000560| 0a 0a 4e 6f 77 2c 20 69 | 66 20 77 65 20 72 75 6e |..Now, i|f we run|
|00000570| 20 6f 75 74 20 6f 66 20 | 6e 6f 72 6d 61 6c 20 72 | out of |normal r|
|00000580| 65 67 69 73 74 65 72 73 | 20 61 6e 64 20 69 74 20 |egisters| and it |
|00000590| 69 73 20 6e 65 63 65 73 | 73 61 72 79 20 74 6f 0a |is neces|sary to.|
|000005a0| 73 70 69 6c 6c 20 74 68 | 65 20 22 63 75 72 72 65 |spill th|e "curre|
|000005b0| 6e 74 20 74 61 73 6b 22 | 20 72 65 67 69 73 74 65 |nt task"| registe|
|000005c0| 72 2c 20 69 74 73 20 76 | 61 6c 75 65 20 63 61 6e |r, its v|alue can|
|000005d0| 20 62 65 20 72 65 6c 6f | 61 64 65 64 0a 74 68 72 | be relo|aded.thr|
|000005e0| 6f 75 67 68 20 61 6e 79 | 20 72 65 67 69 73 74 65 |ough any| registe|
|000005f0| 72 20 70 6f 69 6e 74 69 | 6e 67 20 61 74 20 61 6e |r pointi|ng at an|
|00000600| 20 6f 62 6a 65 63 74 20 | 28 73 61 79 20 62 65 63 | object |(say bec|
|00000610| 61 75 73 65 20 72 65 67 | 69 73 74 65 72 2d 0a 69 |ause reg|ister-.i|
|00000620| 6e 64 69 72 65 63 74 20 | 6d 69 67 68 74 20 62 65 |ndirect |might be|
|00000630| 20 66 61 73 74 65 72 20 | 74 68 61 6e 20 61 62 73 | faster |than abs|
|00000640| 6f 6c 75 74 65 20 61 64 | 64 72 65 73 73 69 6e 67 |olute ad|dressing|
|00000650| 29 2e 20 54 68 65 20 63 | 6f 6d 70 69 6c 65 72 0a |). The c|ompiler.|
|00000660| 77 72 69 74 65 72 20 6b | 6e 6f 77 73 20 74 68 69 |writer k|nows thi|
|00000670| 73 20 77 69 6c 6c 20 6f | 6e 6c 79 20 62 65 20 64 |s will o|nly be d|
|00000680| 6f 6e 65 20 69 66 20 61 | 20 76 61 6c 69 64 20 70 |one if a| valid p|
|00000690| 6f 69 6e 74 65 72 20 76 | 61 6c 75 65 20 69 73 0a |ointer v|alue is.|
|000006a0| 61 6c 72 65 61 64 79 20 | 69 6e 20 61 20 72 65 67 |already |in a reg|
|000006b0| 69 73 74 65 72 20 28 61 | 6e 64 20 63 61 6c 6c 69 |ister (a|nd calli|
|000006c0| 6e 67 20 64 65 6c 65 74 | 65 20 77 69 6c 6c 20 69 |ng delet|e will i|
|000006d0| 6e 76 61 6c 69 64 61 74 | 65 20 74 68 65 0a 72 65 |nvalidat|e the.re|
|000006e0| 67 69 73 74 65 72 29 2c | 20 73 69 6e 63 65 20 69 |gister),| since i|
|000006f0| 74 20 77 6f 75 6c 64 20 | 62 65 20 6d 6f 72 65 20 |t would |be more |
|00000700| 65 63 6f 6e 6f 6d 69 63 | 61 6c 20 74 6f 20 6f 62 |economic|al to ob|
|00000710| 74 61 69 6e 20 74 68 65 | 20 76 61 6c 75 65 0a 73 |tain the| value.s|
|00000720| 6f 6d 65 20 6f 74 68 65 | 72 20 77 61 79 20 69 66 |ome othe|r way if|
|00000730| 20 61 20 70 6f 69 6e 74 | 65 72 20 74 6f 20 69 74 | a point|er to it|
|00000740| 20 69 73 6e 27 74 20 61 | 76 61 69 6c 61 62 6c 65 | isn't a|vailable|
|00000750| 29 2e 0a 0a 48 6f 77 65 | 76 65 72 2c 20 75 73 69 |)...Howe|ver, usi|
|00000760| 6e 67 20 74 68 65 20 76 | 61 6c 75 65 20 69 6e 20 |ng the v|alue in |
|00000770| 61 6e 20 65 78 70 72 65 | 73 73 69 6f 6e 20 6d 69 |an expre|ssion mi|
|00000780| 67 68 74 20 63 61 75 73 | 65 20 61 20 72 65 67 69 |ght caus|e a regi|
|00000790| 73 74 65 72 0a 74 6f 20 | 67 65 74 20 72 65 2d 6c |ster.to |get re-l|
|000007a0| 6f 61 64 65 64 20 77 69 | 74 68 20 74 68 61 74 20 |oaded wi|th that |
|000007b0| 76 61 6c 75 65 2c 20 73 | 6f 20 74 68 61 74 20 72 |value, s|o that r|
|000007c0| 65 6c 6f 61 64 69 6e 67 | 20 74 68 65 20 74 61 73 |eloading| the tas|
|000007d0| 6b 0a 70 6f 69 6e 74 65 | 72 20 63 6f 75 6c 64 20 |k.pointe|r could |
|000007e0| 67 6f 20 77 72 6f 6e 67 | 3b 20 69 6e 20 61 20 73 |go wrong|; in a s|
|000007f0| 79 73 74 65 6d 20 77 69 | 74 68 20 61 6e 20 75 6e |ystem wi|th an un|
|00000800| 70 72 6f 74 65 63 74 65 | 64 20 6d 65 6d 6f 72 79 |protecte|d memory|
|00000810| 0a 73 70 61 63 65 2c 20 | 63 6f 72 72 75 70 74 69 |.space, |corrupti|
|00000820| 6e 67 20 74 68 65 20 74 | 61 73 6b 20 70 6f 69 6e |ng the t|ask poin|
|00000830| 74 65 72 20 63 6f 75 6c | 64 20 69 6e 64 65 65 64 |ter coul|d indeed|
|00000840| 20 62 65 20 74 68 65 20 | 65 71 75 69 76 61 6c 65 | be the |equivale|
|00000850| 6e 74 0a 6f 66 20 22 68 | 61 6c 74 20 61 6e 64 20 |nt.of "h|alt and |
|00000860| 63 61 74 63 68 20 66 69 | 72 65 22 2e 0a 0a 49 73 |catch fi|re"...Is|
|00000870| 20 74 68 65 72 65 20 61 | 6e 79 74 68 69 6e 67 20 | there a|nything |
|00000880| 69 6e 20 73 75 63 68 20 | 61 6e 20 69 6d 70 6c 65 |in such |an imple|
|00000890| 6d 65 6e 74 61 74 69 6f | 6e 20 74 68 61 74 20 69 |mentatio|n that i|
|000008a0| 73 20 75 6e 63 6f 6e 66 | 6f 72 6d 69 6e 67 3f 0a |s unconf|orming?.|
|000008b0| 49 66 20 6e 6f 74 2c 20 | 74 68 65 6e 20 49 20 73 |If not, |then I s|
|000008c0| 75 62 6d 69 74 20 74 68 | 61 74 20 22 75 6e 64 65 |ubmit th|at "unde|
|000008d0| 66 69 6e 65 64 20 62 65 | 68 61 76 69 6f 75 72 22 |fined be|haviour"|
|000008e0| 20 49 53 20 74 68 65 20 | 63 6f 72 72 65 63 74 0a | IS the |correct.|
|000008f0| 74 65 72 6d 20 74 6f 20 | 61 70 70 6c 79 20 74 6f |term to |apply to|
|00000900| 20 2a 61 6e 79 2a 20 75 | 73 65 20 6f 66 20 61 6e | *any* u|se of an|
|00000910| 20 69 6e 76 61 6c 69 64 | 61 74 65 64 20 70 6f 69 | invalid|ated poi|
|00000920| 6e 74 65 72 20 76 61 6c | 75 65 2e 0a 0a 2d 4d 61 |nter val|ue...-Ma|
|00000930| 72 74 69 6e 2e 0a 0a 0a | 5b 20 63 6f 6d 70 2e 73 |rtin....|[ comp.s|
|00000940| 74 64 2e 63 2b 2b 20 69 | 73 20 6d 6f 64 65 72 61 |td.c++ i|s modera|
|00000950| 74 65 64 2e 20 20 54 6f | 20 73 75 62 6d 69 74 20 |ted. To| submit |
|00000960| 61 72 74 69 63 6c 65 73 | 3a 20 74 72 79 20 6a 75 |articles|: try ju|
|00000970| 73 74 20 70 6f 73 74 69 | 6e 67 20 77 69 74 68 20 |st posti|ng with |
|00000980| 20 20 20 20 20 5d 0a 5b | 20 79 6f 75 72 20 6e 65 | ].[| your ne|
|00000990| 77 73 2d 72 65 61 64 65 | 72 2e 20 20 49 66 20 74 |ws-reade|r. If t|
|000009a0| 68 61 74 20 66 61 69 6c | 73 2c 20 75 73 65 20 6d |hat fail|s, use m|
|000009b0| 61 69 6c 74 6f 3a 73 74 | 64 2d 63 2b 2b 40 6e 63 |ailto:st|d-c++@nc|
|000009c0| 61 72 2e 75 63 61 72 2e | 65 64 75 20 20 20 20 20 |ar.ucar.|edu |
|000009d0| 20 20 20 20 5d 0a 5b 20 | 46 41 51 3a 20 20 20 20 | ].[ |FAQ: |
|000009e0| 20 20 68 74 74 70 3a 2f | 2f 72 65 61 6c 69 74 79 | http:/|/reality|
|000009f0| 2e 73 67 69 2e 63 6f 6d | 2f 65 6d 70 6c 6f 79 65 |.sgi.com|/employe|
|00000a00| 65 73 2f 61 75 73 74 65 | 72 6e 5f 6d 74 69 2f 73 |es/auste|rn_mti/s|
|00000a10| 74 64 2d 63 2b 2b 2f 66 | 61 71 2e 68 74 6d 6c 20 |td-c++/f|aq.html |
|00000a20| 20 20 20 5d 0a 5b 20 50 | 6f 6c 69 63 79 3a 20 20 | ].[ P|olicy: |
|00000a30| 20 68 74 74 70 3a 2f 2f | 72 65 61 6c 69 74 79 2e | http://|reality.|
|00000a40| 73 67 69 2e 63 6f 6d 2f | 65 6d 70 6c 6f 79 65 65 |sgi.com/|employee|
|00000a50| 73 2f 61 75 73 74 65 72 | 6e 5f 6d 74 69 2f 73 74 |s/auster|n_mti/st|
|00000a60| 64 2d 63 2b 2b 2f 70 6f | 6c 69 63 79 2e 68 74 6d |d-c++/po|licy.htm|
|00000a70| 6c 20 5d 0a 5b 20 43 6f | 6d 6d 65 6e 74 73 3f 20 |l ].[ Co|mments? |
|00000a80| 6d 61 69 6c 74 6f 3a 73 | 74 64 2d 63 2b 2b 2d 72 |mailto:s|td-c++-r|
|00000a90| 65 71 75 65 73 74 40 6e | 63 61 72 2e 75 63 61 72 |equest@n|car.ucar|
|00000aa0| 2e 65 64 75 20 20 20 20 | 20 20 20 20 20 20 20 20 |.edu | |
|00000ab0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000ac0| 20 5d 0a | | ]. | |
+--------+-------------------------+-------------------------+--------+--------+